package com.atguigu.gulimall.seckill.service;

import com.atguigu.gulimall.seckill.to.SecKillSkuRedisTo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuzemin
 * @date 2021/3/19 14:57
 * @description
 */
public interface SeckillService {


    void uploadSeckillSkuLatest3Days();

    List<SecKillSkuRedisTo> getCurrentSeckillSkus();

    SecKillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
